let configS = {
  dev: false,
  // 开发地址
  // serverIp: "39.99.131.23:8610/",
  //  serverIp: "192.168.31.234:8610/", // 小弋
  // serverIp: "192.168.31.174:8510/", // 陈斌
  serverIp: '192.168.31.219:7001/',   // 赵航
  // 部署测试地址
  testIp: "192.168.31.219:7001/",
  // 部署生产地址
  buildIp: "192.168.31.219:7001/", // 请求地址
};
switch (process.env.NODE_ENV) {
  case "development":
    configS.jLogin = "http://" + configS.serverIp;
    configS.jBaseURL = "http://" + configS.serverIp;
    configS.imgUrl = "http://192.168.31.219/ai/file";
    configS.download = "http://192.168.31.219/ai/file/download";
    configS.dev = true;
    break;
  case "staging":
    configS.jLogin = "http://" + configS.testIp;
    configS.jBaseURL = "http://" + configS.testIp;
    configS.imgUrl = "http://192.168.31.219/ai/file";
    configS.download = "http://192.168.31.219/ai/file/download";
    configS.dev = true;
    break;
  case "production":
    configS.jLogin = "http://" + configS.buildIp;
    configS.jBaseURL = "http://" + configS.buildIp;
    configS.imgUrl = "http://" + configS.buildIp + "ai/file";
    configS.download = "http://" + configS.buildIp + "ai/file/download";
    configS.dev = true;
    break;
}
/**
 * jLogin 个人&组织&人员
 * jBaseURL 接口地址
 * imgUrl 图片预览
 * download 图片下载
 **/
export default configS;
